﻿using System;
namespace Hyfw.Model
{
	/// <summary>
	/// Factory:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Factory
	{
		public Factory()
		{}
		#region Model
		private int _id;
		private string _factoryno;
		private string _factoryname;
		private int? _factorycategoryid;
		private int? _superiorfactoryid;
		private int? _provnceid;
		private int? _cityid;
		private int? _districtid;
		private string _address;
		private string _code;
		private string _telephone;
		private string _fax;
		private string _email;
		private DateTime? _createdate;
		private string _remark;
		private string _msg1;
		private string _msg2;
		private string _msg3;
		private string _msg4;
		private string _msg5;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 商家编号
		/// </summary>
		public string factoryNo
		{
			set{ _factoryno=value;}
			get{return _factoryno;}
		}
		/// <summary>
		/// 商家名称
		/// </summary>
		public string factoryName
		{
			set{ _factoryname=value;}
			get{return _factoryname;}
		}
		/// <summary>
		/// 商家类别id
		/// </summary>
		public int? factoryCategoryId
		{
			set{ _factorycategoryid=value;}
			get{return _factorycategoryid;}
		}
		/// <summary>
		/// 上级商家id
		/// </summary>
		public int? superiorFactoryId
		{
			set{ _superiorfactoryid=value;}
			get{return _superiorfactoryid;}
		}
		/// <summary>
		/// 省份id
		/// </summary>
		public int? provnceId
		{
			set{ _provnceid=value;}
			get{return _provnceid;}
		}
		/// <summary>
		/// 城市id
		/// </summary>
		public int? cityId
		{
			set{ _cityid=value;}
			get{return _cityid;}
		}
		/// <summary>
		/// 区id
		/// </summary>
		public int? districtId
		{
			set{ _districtid=value;}
			get{return _districtid;}
		}
		/// <summary>
		/// 地址
		/// </summary>
		public string address
		{
			set{ _address=value;}
			get{return _address;}
		}
		/// <summary>
		/// 邮编
		/// </summary>
		public string code
		{
			set{ _code=value;}
			get{return _code;}
		}
		/// <summary>
		/// 电话
		/// </summary>
		public string telephone
		{
			set{ _telephone=value;}
			get{return _telephone;}
		}
		/// <summary>
		/// 传真
		/// </summary>
		public string fax
		{
			set{ _fax=value;}
			get{return _fax;}
		}
		/// <summary>
		/// 邮箱
		/// </summary>
		public string email
		{
			set{ _email=value;}
			get{return _email;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? createDate
		{
			set{ _createdate=value;}
			get{return _createdate;}
		}
		/// <summary>
		/// 备注
		/// </summary>
		public string remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg1
		{
			set{ _msg1=value;}
			get{return _msg1;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg2
		{
			set{ _msg2=value;}
			get{return _msg2;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg3
		{
			set{ _msg3=value;}
			get{return _msg3;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg4
		{
			set{ _msg4=value;}
			get{return _msg4;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string msg5
		{
			set{ _msg5=value;}
			get{return _msg5;}
		}
		#endregion Model

	}
}

